<script>
    if (window.top && window.top != window)
        window.top.postMessage({ "isSecureContext": window.isSecureContext }, "*");
</script>
